#include "precompiled.h"
#include "CommonPools.h"

Geometry_Pool	*gs_geompool	= 0;
SceneStack		*gs_sceneStack	= 0;

void Create_Pools(){
	if( gs_geompool == 0 )
		gs_geompool = new Geometry_Pool();

	if( gs_sceneStack == 0 )
		gs_sceneStack = new SceneStack();
}

void Destroy_Pools(){
	if( gs_geompool != 0 )
		delete gs_geompool;

	if( gs_sceneStack != 0 )
		delete gs_sceneStack;
}
